import config from '/@/config/index';

const baseUrl = config.baseUrl;

export default {
  // 名片列表
  getCallingCardList: {
    url: `${baseUrl}/api/getCallingCardList`,
    method: 'post'
  },
  // 添加名片
  addCallingCard: {
    url: `${baseUrl}/api/addCallingCard`,
    method: 'post'
  },
  // 添加名片
  updateCallingCard: {
    url: `${baseUrl}/api/updateCallingCard`,
    method: 'post'
  },
  // 名片详情
  callingCardById: {
    url: `${baseUrl}/api/callingCardById`,
    method: 'get'
  },
  // 删除名片
  deleteCallingCardById: {
    url: `${baseUrl}/api/deleteCallingCardById`,
    method: 'get'
  }
}